package com.tarena.lbs.activity.dao.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tarena.lbs.activity.pojo.po.ActivityPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ActivityMapper extends BaseMapper<ActivityPO> {
@Select("select id, activity_name, start_date, end_date, describes, img_ids, shop_ids, target_customer, activity_target, delivery_channel, reward_coupon_id, share_profile, share_url, status, business_id, create_at, update_at, reward_type, enable_status, activity_type, channel_type, marketing_type, activity_json from activity")
    List<ActivityPO> listActivity();
}
